import matplotlib.pyplot as plt

Fig1 = plt.figure()
x = [1,2,3,4,5]
y = [1,8,27,64,125]
plt.plot(x,y)
plt.show()
Fig1.savefig(r'F:\反复学习\我的图.svg')